package org.jeecg.modules.product.job.SecurityDisclosureConfig.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 电子作业票安全交底配置
 * @Author: jeecg-boot
 * @Date:   2024-11-01
 * @Version: V1.0
 */
@Data
@TableName("tb_job_ticket_security_disclosure_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="电子作业票安全交底配置")
public class TbJobTicketSecurityDisclosureConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**作业许可范围及作业环境*/
	@Excel(name = "作业许可范围及作业环境", width = 15)
    @Schema(description = "作业许可范围及作业环境")
    private String jobEnvironment;
	/**防范措施（工艺、设备、个体防护等）*/
	@Excel(name = "防范措施（工艺、设备、个体防护等）", width = 15)
    @Schema(description = "防范措施（工艺、设备、个体防护等）")
    private String preventiveMeasures;
	/**应急措施*/
	@Excel(name = "应急措施", width = 15)
    @Schema(description = "应急措施")
    private String emergencyMeasure;
	/**其他注意事项*/
	@Excel(name = "其他注意事项", width = 15)
    @Schema(description = "其他注意事项")
    private String attentionItem;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "normalOrStop")
	@Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String deleted;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
}
